package org.oop1.jicheng;

public class Animal {
	private String name;
	private int age;
	final String an = "这是什么鬼啊";
	static String ss ="动物类变量";
	public Animal(){
		
	}
	public Animal(String name,int age){
		this.name = name;
		this.age = age;
	}
	public void setName(String name){
		this.name = name;
	}
	public String getName(){
		return name;
	}
	public void setAge(int age){
		this.age = age;
	}
	public int getAge(){
		return age;
	}
	public void eat(){
		System.out.println("动物在吃东西");
	}
}
